<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>发货订单</title>
    <link rel="stylesheet" href="../../../elementUI/index.css">
    <link rel="stylesheet" href="../../../css/index.css">
</head>

<body>
    <div id="app" class="minWidth">
        <el-form :model="form" ref="contract" inline-message="true" style="width: 100%">
            <div class="table_titel">
                <div class="titel">增加销售出库单</div>
            </div>
            <el-descriptions :column="3" border size="small">
                <el-descriptions-item label="出库日期">
                    <el-form-item>
                        <el-date-picker :disabled="true" v-model="form.Receipt_Date" type="datetime" placeholder="选择日期时间">
                        </el-date-picker>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="出货地点">
                    <el-form-item>
                        <el-input :disabled="true" v-model.trim="form.Receipt_Name"></el-input>
                    </el-form-item>
                </el-descriptions-item>
                <el-descriptions-item label="仓库名称">
                    <el-form-item>
                        <el-input :disabled="true" v-model.trim="form.Store_Name"></el-input>
                    </el-form-item>
                </el-descriptions-item>
            </el-descriptions>
            <div class="table_titel" style="display: flex;flex-direction: column;align-items: start;">
                <div class="titel">销售出库明细</div>
                <el-descriptions style="width: 100%;" :column="3" border size="small" v-for="(item,i) in form.Children.sales_receipt_detail" :key="i">
                    <el-descriptions-item label="订单类型">
                        <el-form-item>
                            <el-input :disabled="true" v-model.trim="item.Order_Name"></el-input>
                        </el-form-item>
                    </el-descriptions-item>
                    <el-descriptions-item label="商品名称">
                        <el-form-item>
                            <el-input :disabled="true" v-model.trim="item.Article_Name"></el-input>
                        </el-form-item>
                    </el-descriptions-item>
                    <el-descriptions-item label="出库数量">
                        <el-form-item>
                            <el-input :disabled="true" v-model.trim="item.Receipt_Quantity"></el-input>
                        </el-form-item>
                    </el-descriptions-item>
                </el-descriptions>
            </div>
            <el-form-item class="form-operation">
                <el-button @click="window.history.back()">返回</el-button>
                <el-button type="primary" :disabled="disabled" :loading="loading" @click="submitForm('contract')">提交</el-button>
            </el-form-item>
        </el-form>
    </div>
    <script type="text/javascript" src="../../../js/jquery-3.6.0.min.js"></script>
    <script type="text/javascript" src="../../../js/jquery.cookie.js"></script>
    <script type="text/javascript" src="../../../js/vue.min.js"></script>
    <script type="text/javascript" src="../../../elementUI/index.js"></script>
    <script type="text/javascript" src="../../../js/utils.js"></script>
    <script type="text/javascript" src="../../../js/FileSaver.min.js"></script>
    <script type="text/javascript" src="../../../js/FileSaver.js"></script>
    <script type="text/javascript" src="../../../js/xlsx.full.min.js"></script>
    <script type="text/javascript" src="./js/SalesOutboundOrder.js"></script>
</body>

</html>